package com.glela.common.model.sms.order;

import org.apache.commons.lang3.StringUtils;

import com.glela.common.model.sms.SmsTemplate;

/**
 * 订单支付成功
 * @author zls
 *
 */
public class SMSSuccessOrderPayment extends SmsTemplate {
	private String	orderSn;
	private String	payTime;
	private String	payAmount;

	/** 订单号 */
	public String getOrderSn() {
		return orderSn;
	}

	/** 订单支付时间 */
	public String getPayTime() {
		return payTime;
	}

	/** 订单支付金额 */
	public String getPayAmount() {
		return payAmount;
	}

	/** 订单号 */
	public void setOrderSn(String orderSn) {
		this.orderSn = orderSn;
	}

	/** 订单支付时间 */
	public void setPayTime(String payTime) {
		this.payTime = payTime;
	}

	/** 订单支付金额 */
	public void setPayAmount(String payAmount) {
		this.payAmount = payAmount;
	}

	public SMSSuccessOrderPayment(String mobile) {
		super(mobile);
	}

	@Override
	protected boolean _checkMsg() {
		if (StringUtils.isBlank(getOrderSn())) {
			return true;
		}
		return false;
	}
}